package com.gopay.common.cps.service.fund.impl;


import com.gopay.common.cps.dao.fund.FundFileDao;
import com.gopay.common.cps.service.fund.PgFundGopayFileService;
import com.gopay.common.domain.fund.FundGopayFileEntity;

import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * @author baiyunpeng
 * @2016年7月14日 下午3:36:05  www.gopay.com.cn Inc.All rights reserved.
 */
@Service("pgFundGopayFileService")
public class PgFundGopayFileServiceImpl implements PgFundGopayFileService {
    @Resource(name = "fundFileDao")
    private FundFileDao fundFileDao;
    @Override
    public void save(FundGopayFileEntity fundGopayFileEntity) {
        fundFileDao.saveFile(fundGopayFileEntity);
    }
    @Override
    public List<FundGopayFileEntity> queryFileByParam(Map<String, Object> paramMap) {
        return fundFileDao.queryFileByParam(paramMap);
    }
}
